
#include <stdio.h>
int main(int argc, char **argv)
{
    FILE* fp1,*fp2;
    char ch;
    if(argc==3)
    {

        fp1=fopen(argv[1],"r");
        if(!fp1)
        {
            printf("EEROR");
            return 0;

        }
        fp2=fopen(argv[2],"w");

        ch=fgetc(fp1);
        while(!feof(fp1))
        {
            fputc(ch,fp2);
            ch=fgetc(fp1);
        }
        fclose(fp1);

        fclose(fp2);
    }
    return 0;
}
